home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / _4DBF712284B1475B82A699FCD548D591 < prev    next >
Encoding:
Text File  |  2006-08-04  |  2.0 KB  |  62 lines

  1. from PSPApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': u'Corel Corporation',
  6.         'Copyright': u'Copyright (c) 2004 Corel Corporation  All rights reserved.',
  7.         'Description': u'',
  8.         'Host': u'Paint Shop Pro 9',
  9.         'Host Version': u'9.00'
  10.         }
  11.  
  12. def Preset_WarpingBrush():
  13.     return {
  14.         'Mode': App.Constants.WarpingBrushMode.Push, 
  15.         'ParametersLocked': False, 
  16.         'LockMode': App.Constants.WarpingBrushMode.Push, 
  17.         'PushSize': 50, 
  18.         'PushHardness': 0, 
  19.         'PushStrength': 25, 
  20.         'ExpandSize': 32, 
  21.         'ExpandHardness': 0, 
  22.         'ExpandStrength': 100, 
  23.         'ExpandStep': 25, 
  24.         'ContractSize': 32, 
  25.         'ContractHardness': 0, 
  26.         'ContractStrength': 100, 
  27.         'ContractStep': 25, 
  28.         'RightTwirlSize': 32, 
  29.         'RightTwirlHardness': 0, 
  30.         'RightTwirlStrength': 100, 
  31.         'RightTwirlStep': 25, 
  32.         'LeftTwirlSize': 32, 
  33.         'LeftTwirlHardness': 0, 
  34.         'LeftTwirlStrength': 100, 
  35.         'LeftTwirlStep': 25, 
  36.         'NoiseSize': 32, 
  37.         'NoiseHardness': 0, 
  38.         'NoiseStrength': 100, 
  39.         'NoiseStep': 25, 
  40.         'NoiseNoise': 1, 
  41.         'IronOutSize': 32, 
  42.         'IronOutHardness': 0, 
  43.         'IronOutStrength': 100, 
  44.         'UnwarpSize': 32, 
  45.         'UnwarpHardness': 0, 
  46.         'UnwarpStrength': 100, 
  47.         'UnwarpStep': 25, 
  48.         'NoiseSeed': 0, 
  49.         'EdgeMode': App.Constants.WarpingBrushEdgeMode.Fixed, 
  50.         'DraftDrawingQuality': App.Constants.WarpingBrushDraftQuality.High, 
  51.         'FinalApplyQuality': App.Constants.WarpingBrushFinalApplyQuality.Use, 
  52.         'GeneralSettings': {
  53.             'ExecutionMode': App.Constants.ExecutionMode.Default, 
  54.             'AutoActionMode': App.Constants.AutoActionMode.Match
  55.             }
  56.         }
  57.  
  58. def Do(Environment):
  59.     # WarpingBrush
  60.     App.Do( Environment, 'WarpingBrush',         Preset_WarpingBrush())
  61.  
  62.